package com.angel.service;

import com.angel.bean.SysMenu;
import com.angel.common.CommonService;

import java.util.List;

public interface SysMenuService extends CommonService<SysMenu> {
    List<SysMenu> findMenuByUid(Long uid);

    /**
     * 根据员工id查询菜单列表
     * @param eid 员工id
     * @return 菜单列表
     */
    List<SysMenu> findMenuByEid(Integer eid);

    List<SysMenu> findMenuByEtid(Integer etid);

    int update(SysMenu sysMenu);
}
